package com.guochu.pro.entity;

import java.util.Date;

import com.guochu.common.infrastructure.IEntity;

import java.io.Serializable;

/**
 * 产品分类表(Chat)实体类
 *
 * @author makejava
 * @since 2021-07-05 23:05:07
 */
public class Chat extends IEntity implements Serializable {
    private static final long serialVersionUID = 363958012158504787L;

    /**
     * 发送者ID
     */
    private String fromUserId;
    /**
     * 发送者名称
     */
    private String fromUserName;
    /**
     * 发送者头像
     */
    private String fromUserIcon;
    /**
     * 接收者ID
     */
    private String toUserId;
    /**
     * 接收者名称
     */
    private String toUserName;
    /**
     * 接收者头像
     */
    private String toUserIcon;
    /**
     * 信息内容
     */
    private String content;
    /**
     * 是否被阅读 1已读 2未读
     */
    private String isRead;

    public String getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(String fromUserId) {
        this.fromUserId = fromUserId;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public String getFromUserIcon() {
        return fromUserIcon;
    }

    public void setFromUserIcon(String fromUserIcon) {
        this.fromUserIcon = fromUserIcon;
    }

    public String getToUserId() {
        return toUserId;
    }

    public void setToUserId(String toUserId) {
        this.toUserId = toUserId;
    }

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getToUserIcon() {
        return toUserIcon;
    }

    public void setToUserIcon(String toUserIcon) {
        this.toUserIcon = toUserIcon;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getIsRead() {
        return isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead;
    }

}
